<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-html</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="case2-html">
    <div v-html="message"></div>
</div>
<script type="text/javascript">
    new Vue({
        el:"#case2-html",
        data:{
            message:`<h1>Hello World！</h1>`
        }
    })
</script>
</body>
</html>